package com.service.user.mapper;

import com.service.user.pojo.UcenterMember;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 会员表 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2020-09-30
 */
@Mapper
@Repository
public interface UcenterMemberMapper extends BaseMapper<UcenterMember> {

    @Select("select count(1) from ucenter_member where DATE(gmt_create) = #{day}")
    Integer queryRegisterCount(String day);

}
